package com.coderxq.blog.web.service.menu;

import com.coderxq.blog.web.entity.pojo.Menu;
import com.coderxq.blog.web.entity.vo.MenuInfo;

import java.util.ArrayList;

public interface MenuService {

    Integer addMenu(Menu menu);
    ArrayList<MenuInfo> findAllMenu();
    Integer updateMenu(Menu menu);
    Integer deleteMenu(String menuId);

    void saveMenusTreeData(ArrayList<MenuInfo> MenusTreeData);

}
